\begin{table}[tbp] \centering
\newcolumntype{R}{>{\raggedleft\arraybackslash}X}
\newcolumntype{L}{>{\raggedright\arraybackslash}X}
\newcolumntype{C}{>{\centering\arraybackslash}X}

\begin{tabularx}{\linewidth}{@{}lCCCCCC@{}}

\toprule
{country}&{gdppercapppp\_2020}&{pop\_total\_2020}&{pop\_60plus\_1990}&{pop\_60plus\_2020}&{pop\_60plus\_2050}&{gr\_pop60plus\_2020to2050} \tabularnewline
\midrule \addlinespace[\belowrulesep]
Niger&1,283&24&0.3&1&3&204\% \tabularnewline
Malawi&1,573&19&0.5&0.8&3&240\% \tabularnewline
Uganda&2,366&44&0.8&1&5&282\% \tabularnewline
Ethiopia&2,379&117&2&6&19&229\% \tabularnewline
Tanzania&2,694&62&1&3&9&218\% \tabularnewline
Nigeria&5,138&208&5&10&25&152\% \tabularnewline
Ghana&5,558&32&0.7&2&6&214\% \tabularnewline
South Africa&13,534&59&2&5&12&141\% \tabularnewline
Sub-Saharan Africa&3,849&1,109&24&53&156&194\% \tabularnewline
Rest of world&19,422&6,732&459&1,008&1,976&96\% \tabularnewline
\bottomrule 

\end{tabularx}
\end{table}
